package com.example.langchain4jai.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;

/**
 * 记忆缓存
 * @author zxb
 * @version 1.0
 * @date 2025-03-03 10:35
 */
public interface AiAssistant {


    String chat(String msg);


    String chat(@MemoryId Long memoryId, @UserMessage String msg);

}
